body {
    font-family: 'Comic Sans MS', 'Marker Felt', cursive;
    background-color: #e8f8ff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2392AC9C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    animation: bgColorChange 10s infinite alternate;
}

@keyframes bgColorChange {
    0% {
        background-color: #e8f8ff;
    }
    100% {
        background-color: #d0e8ff;
    }
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(120, 180, 255, 0.3);
    width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background-color: rgba(180, 220, 255, 0.3);
    border-radius: 50%;
    z-index: 0;
    animation: circleMoveTopRight 15s infinite linear;
}

@keyframes circleMoveTopRight {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    background-color: rgba(220, 240, 255, 0.3);
    border-radius: 50%;
    z-index: 0;
    animation: circleMoveBottomLeft 15s infinite linear;
}

@keyframes circleMoveBottomLeft {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, -50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

h2 {
    color: #2b6be2;
    margin-bottom: 20px;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(43, 107, 226, 0.2);
}

h3 {
    color: #5a7acd;
    margin-bottom: 30px;
    font-weight: normal;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2b6be2, #708edb, #2b6be2);
    opacity: 0.5;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2b6be2;
    font-size: 18px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #bfd2d8;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #2b6be2;
    box-shadow: 0 0 10px rgba(43, 107, 226, 0.3);
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2b6be2, #708edb);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(43, 107, 226, 0.4);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(43, 107, 226, 0.4);
}

button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translate(-100%, -100%);
    }
    100% {
        transform: rotate(30deg) translate(100%, 100%);
    }
}

.error-message {
    color: #698bff;
    text-align: center;
    margin-bottom: 25px;
    padding: 10px;
    background-color: rgba(230, 240, 255, 0.7);
    border-radius: 10px;
    font-weight: bold;
}

.success-message {
    color: #2e5b8b;
    text-align: center;
    margin-bottom: 25px;
    padding: 10px;
    background-color: rgba(230, 245, 255, 0.7);
    border-radius: 10px;
    font-weight: bold;
}

.links-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.links-container a {
    color: #2b6be2;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.links-container a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2b6be2;
    transition: width 0.3s ease;
}

.links-container a:hover {
    color: #708edb;
}

.links-container a:hover::after {
    width: 100%;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(43, 107, 226, 0.1);
}

th,
td {
    border: none;
    padding: 15px;
    text-align: left;
}

th {
    background-color: #2b6be2;
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: rgba(230, 240, 255, 0.5);
}

tr:nth-child(odd) {
    background-color: rgba(240, 245, 255, 0.5);
}

tr:hover {
    background-color: rgba(210, 230, 255, 0.7);
}

.btn {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 10px;
    margin-right: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-edit {
    background: linear-gradient(135deg, #326bcd, #225b8b);
    color: white;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(50, 107, 205, 0.3);
}

.btn-delete {
    background: linear-gradient(135deg, #638bff, #1443dc);
    color: white;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 139, 255, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #2b6be2;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding-bottom: 3px;
}

.back-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2b6be2;
    transition: width 0.3s ease;
}

.back-link:hover {
    color: #708edb;
}

.back-link:hover::after {
    width: 100%;
}